package com.casstime.demo.service;

import com.casstime.demo.ano.UserLog;
import com.casstime.demo.dao.User;
import org.springframework.stereotype.Service;

@Service
public class DemoService {

    @UserLog
    public User findUser(String userId) {
        User user = new User();
        user.setUserId("xiaoming");
        user.setUserName("小明1");
        return user;
    }
}
